package iedcyt.acute.controller;

import org.eclipse.swt.events.SelectionListener;
import iedcyt.acute.controller.listeners.mainWindow.CancelListener;
import iedcyt.acute.controller.listeners.mainWindow.ClearMessageListener;

import iedcyt.acute.model.MainWindowModel;
import iedcyt.acute.view.MainWindowView;

public class MainWindowController {

	private MainWindowView _view;
	private MainWindowModel _model;
	
	public MainWindowController(MainWindowView view){
		_view = view;
		_model = new MainWindowModel();

	}
	
	public SelectionListener getCancelListener() {
		return new CancelListener(_view, _model);
	}

	public SelectionListener getClearMessageListener() {
		return new ClearMessageListener(_view, _model);
	}

	
}
